From: Colin Walters Date: Fri, 13 Jan 2017 17:29:17 +0000 (-0500) Subject: libtest: Enable web server logs X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~41^2~6 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=b260fa764cd0a3328c58341e5313b6fba8944d6d;p=ostree.git libtest: Enable web server logs Now that we're daemonizing, it's useful to have the logs. I wanted this while debugging cookies. Closes: #651 Approved by: giuseppe --- diff --git a/tests/libtest.sh b/tests/libtest.sh index db57128a..927b8b1a 100755 --- a/tests/libtest.sh +++ b/tests/libtest.sh @@ -262,7 +262,7 @@ setup_fake_remote_repo1() { mkdir ${test_tmpdir}/httpd cd httpd ln -s ${test_tmpdir}/ostree-srv ostree - ${OSTREE_HTTPD} --autoexit --daemonize -p ${test_tmpdir}/httpd-port $args + ${OSTREE_HTTPD} --autoexit --log-file $(pwd)/httpd.log --daemonize -p ${test_tmpdir}/httpd-port $args port=$(cat ${test_tmpdir}/httpd-port) echo "http://127.0.0.1:${port}" > ${test_tmpdir}/httpd-address cd ${oldpwd}